<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var cj = prompt("请输入成绩");
			//cj = Number(cj);
			cj = parseInt(cj);
			switch(true){
				case cj >= 60:
					console.log("合格")
					break;
				default:
					console.log("不合格");
					break;
			}
			
		</script>
	</body>
</html>
